package com.jxwifi.cloud.quickclean.adapter;

import android.support.annotation.LayoutRes;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.jxwifi.cloud.quickclean.R;
import com.jxwifi.cloud.quickclean.app.AccountMgr;
import com.jxwifi.cloud.quickclean.bean.FeedBackBean;
import com.jxwifi.cloud.quickclean.bean.RankingBean;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

public class GradeRankAdapter extends BaseQuickAdapter<RankingBean, BaseViewHolder> {

    private String TAG = this.getClass().getSimpleName();
    public GradeRankAdapter(@LayoutRes int layoutResId) {
        super(layoutResId, null);
    }

    @Override
    protected void convert(BaseViewHolder helper, RankingBean item) {

        Log.i(TAG,"convert ==> nicakName = "+item.getNickName());
        helper.setText(R.id.tv_grade, item.getVip());
        helper.setText(R.id.tv_nickname, item.getNickName());
        helper.setText(R.id.tv_tell, item.getTellTemp());

    }


}
